import SvgIcon from './SvgIcon/index.vue'
import Page from './page/index.vue'
import * as ElementPlusIconsVue from '@element-plus/icons-vue'
let allGlobalComponents={SvgIcon,Page}
//对外暴露自定义插件对象
export default {
    install(app){
        Object.keys(allGlobalComponents).forEach(key=>{
            app.component(key,allGlobalComponents[key])
        })
        for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
            app.component(key, component)
          }
    }
}